﻿using Minotaur.App.Core;
using Minotaur.App.Domains.Dto;
using Minotaur.App.Domains.ViewModel.Menu;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Minotaur.App.Modules.Business.Service.Mneu
{
    public interface IMenuInfoListService : ICommonInterface
    {
        /// <summary>
        /// 获取所有的菜单
        /// </summary>
        /// <returns></returns>
        Task<List<MenuInfoListDto>> InitMenuInfosAsync();

        /// <summary>
        /// 保存表单菜单数据
        /// </summary>
        /// <returns></returns>
        Task<bool> SaveMenuInfo(MenuInfoViewModel menuInfoViewModel);


        /// <summary>
        /// 左侧菜单
        /// </summary>
        /// <returns></returns>
        Task<List<MenuInfoDto>> GenerateMenuInfo();
    }
}
